import { GLOBAL } from './global';
import { ENVIRONMENT } from './env';

export const API = {
	//登录
	DO_LOGIN: "/userInfo/login",
	//获取首页入口
	GET_HOME_MODULES: "/app/home",
	//首页待办类型
	GET_USER_TASK_LIST: "/dict/getUserTaskList",
	// 扫描
	DO_SCAN: '/common/invoiceInfoByQRCode',
	//待审批统计
	INDEX_AUDITCNT: '/task/audit/index/auditCnt',
	//业务预警 - 拆分
	INDEX_WARNING_SPLIT: '/task/warn/singleWarnCnt',
	//日志请求的接口
	LOGGER: '/common/appTimeOutApiLogger',

	/*
	* 企业管理
	*/
	//根据商品分类获取对应的资质列表
	FIND_QUALIFICA_BYCATE: "/goods/findQualificationByCateId",
	//企业正式列表（已通过企业）
	GET_CUSTOMER_LIST: "/companyInfo/queryCompanyList",
	//企业申请列表（已驳回 未提交）
	GET_CUSTOMER_APPLY_LIST: "/applyCompanyInfo/queryCompanyApplyList",
	//企业详细信息（已通过企业）
	GET_CUSTOMER_DETAIL: "/companyInfo/queryCompanyDetail",
	//获取企业资质
	QUERT_COMPANY_QUALIFI: "/companyInfo/queryCompanyQualification",
	//根据品类获取企业需要资质
	QUERT_COMPANY_NEED_QUALIFI: '/companyInfo/queryOrderCompanyGoodsQualification',
	//企业授信信息（已通过企业）
	GET_CUSTOMER_CREDIT_LIST: "/finance/credit/apply/pageList",
	GET_CUSTOMER_CREDIT_DETAIL: "/finance/credit/companyCreditList",
	//企业授信历史（已通过企业）
	GET_CUSTOMER_CREDIT_HISTORY: "/finance/credit/company/applyHistoryList",
	//企业申请详细信息（草稿状态的详情）
	GET_CUSTOMER_APPLY_DETAIL: "/applyCompanyInfo/queryCompanyApplyDetail",
	//新增企业信息
	ADD_APPLY_COMPANY: "/applyCompanyInfo/addApplyCompany",
	//企业信息变更列表
	GET_MODIFYCOMPANY_LIST: "/applyCompanyInfo/changeCompanyList",
	//企业信息变更详情
	GET_MODIFYCOMPANY_DETAIL: "/applyCompanyInfo/changeDetail",
	//企业信息删除（银行信息、收获地址信息）
	DELETE_COMPANY_INFO: "/applyCompanyInfo/deleteCompanyInfo",
	//商品模块
	GET_PRODUCT_TREE: "/goods/findGoodsTree",
	//获取银行名
	GET_BANK_NAME: "/bank/getBankName",
	//获取示例图片
	GET_IMG_DEMO: "/common/getImgDemo",
	//校验企业是否已经注册过
	CHECK_COMPANY_CREDITCODE: "/applyCompanyInfo/checkCompanyNameAndCreditCode",
	// 新增业务员企业认领申请
	ADD_CLAIM_APPLY: '/staffCompany/addStaffCompanyApply',
	// 企业认领申请列表
	ENTERPRISE_CLAIM_LIST: '/staffCompany/queryStaffCompanyApplyList',
	// 企业认领审批列表
	ENTERPRISE_CLAIM_AUDIT_LIST: '/staffCompany/applyAuditList',
	// 企业认领审批
	ENTERPRISE_CLAIM_AUDIT: '/staffCompany/dealApplyAudit',

	//文件删除
	DELETE_FILE: "/common/delete",
	//文件预览common/imgView
	// GET_IMG_VIEW: "/common/preview",
	GET_IMG_VIEW: "/common/preview/thumbs", //压缩后的
	//级联查询地区
	// FIND_AREA_LIST: "/areaInfo/findAreaByLevel",
	//根据id查询所有上级
	// GET_AREA_LIST: "/areaInfo/findAll",
	//查询城市列表
	GET_AREA_LIST_BY_LEVEL: "/areaInfo/findAreaByLevel",
	//查询省
	GET_PROVINCE_LIST_BY_LEVEL: "/areaInfo/findAreaListByLevel",
	//地区树形结构
	GET_AREA_TREE: "/areaInfo/findAreaTree",
	/*
		* 盘点计划
		*/
	//盘点计划分页
	GET_STOCKPLAN_LIST: "/stockCheckPlan/findPageStockCheckPlan",
	//盘点计划分页
	GET_STOCKPLAN_DETAIL: "/stockCheckPlan/planDetail",
	//开始盘点
	CHECK_STOCKPLAN_BEGIN: "/stockCheckPlan/begin",
	//提交
	APPLY_STOCK_PLAN: "/stockCheckPlan/apply",
	// GET_CONTRACT_PDF: "/common/preview",///common/preview/pdf

	/*
	 * 出入库
	 */
	//所有通知单
	FIND_NOTICE_LIST: "/ShipmentNotice/findShipmentNotice",
	//通知单详情
	FIND_NOTICE_DETAIL: "/ShipmentNotice/detail",
	//新增出入库明细
	FIND_NOTICE_APPLY: "/ShipmentNotice/apply",
	//开始出入库
	FIND_NOTICE_BEGIN: "/ShipmentNotice/begin",

	/* 
	* 公共模块
	*/
	//获取app版本信息
	GET_UPDATE_INFO: "/app/version",
	//获取数据字典
	GET_DATA_DICTIONARY: "/dict/getDict",
	//批量获取数据字典
	GET_LIST_DICTIONARY: "/dict/dictDetailBatch",
	//获取地区信息
	GET_AREA_INFO: "/areaInfo/findAreaByLevel",
	// 短信验证码
	PASSWORD_CODE: "/common/sendSMSCode",
	// 密码修改 1
	PASSWORD_TOKEN: "/userInfo/findPwdFirst",
	// 密码修改 成功提交
	PASSWORD_CHANGE: "/userInfo/findPwdSecond",
	//退出登录
	LOG_OUT: "/userInfo/logout",
	//常量
	CONST: "/dict/getFinalDateList",
	//根据登录账号获取用户信息
	GET_USER_INFO: "/userInfo/getUserAllInfo",
	// 权限
	GET_PERMISSION_LIST: "/app/homeResource",

	/* 
	*	我的模块
	*/
	//图片上传
	IMG_UPLOAD: "/common/uploadByVO",
	//头像修改
	CHANGE_LOG: "/userInfo/changeAvatar",
	//获取经办人reference
	GET_REFERENCR_LIST: "/userInfo/getUserByOrganId",

	/**
	 * 消息
	 */
	// 消息列表
	INFO_LIST: "/notice/queryNoticeList",
	// 消息详情
	INFO_DETAILS: "/notice/getNotice",
	// 消息是否已读
	INFO_ISREAD: "/notice/read",
	//消息全部已读
	INFO_ISREAD_ALL: "/notice/batchRead",
	// 删除消息
	INFO_DELETE: "/notice/delete",
	// 个人中心汇总
	INFO_GATHER: "/app/gather",
	//消息未读列表
	INFO_MESSAGELIST: "/notice/count",

	/**
	 * 消息推送
	 */
	PUSH_REGISTER_INFO: "/app/pushRegisterInfo",

	/* 
	* 报表模块
	*/
	//报表列表
	GET_REPORT_LIST: "/rptDeploy/queryRepRptDeployList",
	//报表收藏列表
	GET_COLLECT_LIST: "/rptDeploy/attentionDeploys",
	//报表详情
	GET_REPORT_DETAIL: "/rptDeploy/RptDeployDetail",
	//收藏\移除收藏
	ADD_OR_REMOVE_ATTENTION: "/attention/addOrDel",
	//置顶\移除置顶
	SET_REPORT_TO_TOP: "/attention/top",

	/* 
	* 我的报价
	*/
	//PRICE_RECORD: "/price/applyList", //报价记录
	PRICE_RECORD: "/price/querySpotPriceApplyGoodsList", //applyList报价记录querySpotPriceApplyGoodsList
	PRICE_DETAIL: "/price/spoptPriceApplyDetail", //报价详情 detail
	PRICE_ADD: "/price/spoptPriceApplyAdd",  //申请报价 spoptPriceApplyAdd
	PRICE_LOT: "/priceTask/priceAuditList",//报价未审核列表
	MUL_PRICE_LOT: "/priceTask/multiCorp/priceAuditList",//报价未审核列表多账套
	PRICE_LOT_HIS: "/priceTask/priceHisAuditList",//报价已审核列表
	//PRICE_LOT_HIS: "/auditLog/auditList",//审批节点接口
	APPROVAL_NODE: "/auditLog/auditList",//今日报价审批节点接口
	APPRO_PRICE_BATCH: "/priceTask/dealPriceAuditBatch",//今日现货价提报批量审批接口
	APPRO_VARIETIES: "/goods/spotPriceApplyGoodsList",//今日现货价品种查询接口
	PRICE_HISTORY: "/price/spoptPriceApplyList",//提报历史
	PRICE_CANCEL: "/priceTask/cancelPriceAudit",//价格撤回
	QUOTE_HISTORY_LIST: '/spot/queryHisSpotPriceList',  // 报价历史记录
	QUOTE_LIST: '/spot/querySpotPriceApplyList',  // 价格提报列表
	QUOTE_LIST_FINISH: '/spot/queryDailySpotPriceList',  // 价格提报列表(已生效)
	QUOTE_REMOVE: '/spot/delSpotPriceApply',  // 价格提报删除
	QUOTE_ADD: '/spot/addSpotPriceApply',  // 价格提交/报价
	QUOTE_CANCEL: '/spot/cancelSpotPriceApply',  // 价格撤消
	QUOTE_ADD_ALL: '/spot/addSpotPriceApplyList', //批量提报价
	APPROVAL_SQ: '/userInfo/userOrganList', //报价
	/**
	 * 产品、汇率价格
	 */
	PRODUCT_PRICE_LIST: "/price/marketList", //商品价格列表
	PRODUCT_PRICE_DETAIL: "/price/marketPrices", //商品价格图
	EXCHANGE_PRICE_LIST: "/price/exchangeRateList", //汇率价格列表
	EXCHANGE_PRICE_DETAIL: "/price/exchangeRateDetail", //汇率价格图
	APPRO_PRICE_LIST: "/price/approvalList", //审批列表
	//APPRO_PRICE: "/price/approval", //价格提报审批通过/拒绝
	APPRO_PRICE: "/priceTask/dealPriceAudit",
	PRICE_TREND: "/price/spoptPriceDayTrend",
	/* 
		订单
	*/
	ORDER_LIST: "/order/orderList", //订单列表
	ORDER_COMPANY_INFO: "/companyInfo/getCompanyInfo",  //获取企业信息接口
	ORDER_COMPANY_INFO_ADD: "/order/orderAdd",    //  新增接口
	ORDER_SAVE_PRODUCT: "/orderItem/saveOrderItem",    //  新增商品接口
	ORDER_PRODUCT_LIST: "/orderItem/orderItemList",    //  获取商品列表
	ORDER_LONG_LIST: "/order/findLongOrder",    //  查询长约合同
	GET_COMPANY_GOODS: "/companyInfo/getCompanyGoods",    //  查询供应商/客户及对应的商品
	GET_PRICE: "/price/priceFormulaList",  // 价格下面的结算价
	CHECK_PLAN_QUANTITY: "/plan/check/checkPlanExist",  // 查看计划量是否存在
	CHECK_ZXY_PLAN_QUANTITY: "/plan/check/checkZxyPlanExist",  // 查看ZXY计划量是否存在
	GET_HUAXIAO_PLAN_QUANTITY: "/plan/check/checkRemainWeight",  // 获取计划量
	GET_PLAN_QUANTITY: "/plan/check/checkComplexRemainWeight",  // 获取计划量(不是化销)
	GET_ZXY_PLAN_QUANTITY: "/plan/check/checkZxyRemainWeight",  // 获取ZXY计划量
	GET_GOODSLIST: "/goods/companyGoodsList",  // 获取商品三四级
	GET_GP_GOODSLIST: "/chemic/packageApply/goodsList",  // 获取商品三四级
	GET_ZXY_GOODSLIST: "/goods/zxyOrderGoodsList",  // 获取商品三四级-中新油
	ORDER_DETAIL: "/order/orderDetail",  // 订单详情查询
	LONG_PRODUCT_LIST: "/longOrder/orderItemList", // 长约执行商品列表
	ORDER_DELETE: "/order/orderDelete",    // 订单删除
	ORDER_LOT: "/orderTask/orderAuditList",    // 待审批列表

	AUDIT_COUNT: '/orderTask/orderAuditCount', //待审批账套数量
	AUDIT_MUL_COUNT: '/orderTask/multiCorp/orderAuditCount',//待审批多账套数量

	ORDER_AUDIT_LIST: '/orderTask/multiCorp/orderAuditList',//待审批列表多账套
	ORDER_LOT_HIS: "/orderTask/orderHisAuditList", // 已审批列表
	ORDER_TASTK_APPROVAL: "/orderTask/dealOrderAudit",
	ADDRESS_LIST: "/companyInfo/queryCompanyAddrList",   //交货地址
	UPDATE_CUSTOMER_INFO: "/applyCompanyInfo/updateApplyCompany",   // 企业详情信息-添加/修改
	// PAY_APPROVEL: "/finance/paymentApplyAuditList",   // 付款申请审批列表
	// PAY_APPROVEL_HIS: "/finance/paymentApplyHisAuditList",   // 付款申请已审批列表
	PAY_APPROVEL: "/financeTask/applyAuditList",   // 付款申请审批列表（工作流）
	PAY_APPROVEL_HIS: "/financeTask/applyHisAuditList",   // 付款申请已审批列表（工作流）

	MUL_PAY_APPROVEL: '/financeTask/multiCorp/applyAuditList', //付款申请审批列表多账套（工作流）
	MUL_PAY_APPROVEL_HIS: '/financeTask/multiCorp/applyHisAuditList', //付款申请审批列表多账套（工作流）
	PAY_APPROVEL_DETAIL: "/finance/paymentApplyDetail",   // 付款审批详情 //lao
	PAY_APPROVEL_DETAIL_LIST: "/finance/paymentApplyLine",   // 付款审批详情 - 子列表
	PAY_MENT_APPLY_BIZTEAM: "/finance/paymentApplyBizTeamList", //付款详情产品组占比
	PAY_MENT_APPLY_BIZLINE: "/finance/paymentApplyBizLineList",//付款详情产品线占比
	PAY_APPLY_AUDITLIST: "/financeTask/multiCorp/applyAuditList", // 新付款申请审批列表
	PAY_APPLY_AUDITCOUNT: "/financeTask/multiCorp/applyAuditCount", // 新付款申请统计值
	// PAY_APPLY_APPROVEL: "/finance/dealPaymentApplyAudit",   // 付款审批
	PAY_APPLY_APPROVEL: "/financeTask/dealFnApplyAudit",   // 付款审批（工作流）// 新 老
	ORDER_FEE_TYPE_LIST: "/order/orderFundTypeList",//订单费用查询
	ORDER_TRUST_LIST: "/finance/companyCreditInfo", //订单里面的授信
	ORDER_GOODS_STOCK: "/warehouse/goodsInventoryInfo", //订单里面的商品库存显示
	ORDER_GOODS_PLAN: "/plan/deptGoodsMouthPlan", // 订单里面的商品 -计划量
	GET_LATEST_PRICE: "/price/findTodayPrice", // 订单里面的商品 -今日现货价格
	ORDER_EXECUTE_PLAN: "/longOrder/queryLongOrderItemExecRate", // 新增商品长约执行模式-商品总量
	ORDER_MAPPING_LIST: "/order/mappingOrderList", // 关联列表
	QH_ORDER_LOT: "/qhOrderTask/orderCancelAuditList", // 泉化待审批列表
	MUL_QH_ORDER_LOT: "/qhOrderTask/multiCorp/orderCancelAuditList", // 泉化待审批列表
	QH_ORDER_LOT_HIS: "/qhOrderTask/orderCancelHisAuditList", // 泉化已审批列表
	QH_ORDER_TASTK_APPROVAL: "/qhOrderTask/dealOrderCancelAudit", // 泉化审批

	POTENTIAL_CLIENTS_ADD: "/orderRptExt/saveOrderSalePlan", // 新增意向客户
	POTENTIAL_CLIENTS_LIST: "/orderRptExt/orderSalePlanList", // 意向客户列表
	POTENTIAL_CLIENTS_DELETE: "/orderRptExt/deleteOrderSalePlan", // 删除意向客户

	//订单变更
	// ORDER_CHANGE_AUDIT: "/order/alter/task/auditList",//订单变更待审批
	// ORDER_CHANGE_HISAUDIT: "/order/alter/task/hisAuditList",//订单变更已审批
	// ORDER_CHANGE_DETAIL: "/order/alter/task/detail",//订单变更详情
	// ORDER_CHANGE_APPROVAL: "/order/alter/task/audit",//订单变更审批

	//订单变更-new
	ORDER_CHANGE_AUDIT: '/order/changes/task/orderChangesAuditList',//订单变更待审批
	MUL_ORDER_CHANGE_AUDIT: '/order/changes/task/multiCorp/orderChangesAuditList',//订单变更待审批
	ORDER_CHANGE_HISAUDIT: '/order/changes/task/hisOrderChangesAuditList',//订单变更已审批
	ORDER_CHANGE_DETAIL: '/order/changes/task/orderChangesAuditInfo',//订单变更详情
	ORDER_CHANGE_APPROVAL: '/order/changes/task/orderChangesAudit',//订单变更审批
	ORDER_APPROVE_LOG: '/auditLog/orderCenter/auditList',//订单变更审批日志
	ORDER_LONG_APPROVE: '/longOrder/change/task/multiCorp/auditList', //长约框架变更
	ORDER_LONG_APPROVE_DETAILS: '/longOrder/change/task/longOrderChangeInfo',//长约框架变更 详情

	//订单撤销
	ORDER_REVOKE: "/orderTask/cancelOrderProcess",//订单撤销

	/*
		经营计划
	*/
	MY_PLAN_LIST: "/plan/planApplyList", //经验计划列表
	MY_PLAN_ADD: "/plan/addPlan", //经验计划添加
	MY_PLAN_DETIAL: "/plan/planDetail", //经验详情
	MY_PLAN_APP: "/plan/approval", //经营计划审批通过/拒绝
	OPERATE_PLAN_APPROVAL_LIST: "/plan/task/planList", // 经营计划审批列表
	OPERATE_PLAN_CHANGED_LIST: "/plan/task/planChangeDetailList", // 当月变更计划
	OPERATE_PLAN_CHANGED_APPROVAL: "/plan/task/auditPlanChangeDetail", // 审批变更计划
	OPERATE_PLAN_APPROVAL_DETAIL: "/plan/task/planDetailList", // 经营计划审批详情
	OPERATE_PLAN_MANAGER_APPROVAL_DETAIL: "/plan/task/managerPlanDetailList", // 经营计划审批详情-部门经理审批
	OPERATE_PLAN_APPROVAL: "/plan/task/auditPlanDetail", // 经营计划审批
	OPERATE_PLAN_APPROVAL_LOG: "/plan/task/planAuditLog", // 经营计划审批流程
	OPERATE_PLAN_PRODUCT_DETAIL: "/plan/task/detailList", // 经营计划商品明细

	/**
 * 客户需求计划
 */
	DAMAND_APPLY: "/demand/apply", //需求计划申请
	DAMAND_LIST: "/demand/applyList", //需求计划列表
	DAMAND_APPROVAL_LIST: "/demand/approvalList", //需求计划列表(审批用户)
	DAMAND_DETAIL: "/demand/detail", //需求计划详情
	DAMAND_APPROVAL: "/demand/approval", //审批计划

	/*
	* 审批
	*/
	BIZTASK_LIST: "/bizTask/bizTaskList", //审批列表
	COST_BENEFIT_DETAil: '/orderApprovalProcess/order/costBenefitDetail',//成交审批报告详情成本收益详情
	DELIVERY_PLAN: '/orderApprovalProcess/order/FeeAndDeliveryPlan',//获取订单的费用成本预估以及交货计划
	ORDER_APPROVAL_DERAIL: '/orderApprovalProcess/order/detail',//查询订单(成交报告)详情
	COMPANY_ORDER_INFO: '/orderApprovalProcess/order/companyOrderInfo',//查询企业销售逾期和授信情况
	GOOD_FEE: '/orderApprovalProcess/order/goodFeeDetail',//成本收益
	GOOD_MARKET_PRICE: '/orderApprovalProcess/order/goodMidMaketPrice',//获取订单商品当前市场价
	BUY_COST_INFO: '/orderApprovalProcess/order/info',//查询订单商品统计
	ORDER_COUNT_TYPE: '/orderTask/orderCountByType',
	/**
	 * 拟销售流向省份接口
	 */
	GET_PROVINCE_LIST_BY_LEVEL: "/areaInfo/findAreaListByLevel", //审批列表

	/*
	* 代理销售接口
	*/
	AGENT_ORDER_COMPANY_INFO_ADD: "/agentOrder/orderAdd",    //  新增接口
	AGENT_GET_SUPPLIER: "/companyInfo/findAgentCompanyInfo",//代理供应商

	/*订单接口*/
	//长约框架
	LONG_PUR_ORDER_ADD: "/longOrder/savePurchaseOrder",//采购订单-新增/编辑
	LONG_SALE_ORDER_ADD: "/longOrder/saveSaleOrder",//销售订单-新增/编辑
	//长约执行
	EXCUTE_PUR_ORDER_ADD: "/longExecOrder/savePurchaseOrder",//采购订单-新增/编辑
	EXCUTE_SALE_ORDER_ADD: "/longExecOrder/saveSaleOrder",//销售订单-新增/编辑
	//现货
	ORDINARY_PUR_ORDER_ADD: "/execOrder/savePurchaseOrder",//采购订单-新增/编辑
	ORDINARY_SALE_ORDER_ADD: "/execOrder/saveSaleOrder",//销售订单-新增/编辑
	//远期
	FUTURE_PUR_ORDER_ADD: "/futureOrder/savePurchaseOrder",//采购订单-新增/编辑
	FUTURE_SALE_ORDER_ADD: "/futureOrder/saveSaleOrder",//销售订单-新增/编辑
	//代理
	AGENT_ORDER_ADD: "/proxyOrder/saveSaleOrder",//销售订单-新增/编辑
	//闭口
	CLOSE_ORDER_ADD: "/oppoOrder/saveOppoOrder",//采购-销售订单-新增/编辑
	//获取订单盈利预测
	GET_PROFITANALYSE: '/order/profitAnalyse',
	//新版-历史订单和长约框架查询
	GET_ORDER_HISTORY: '/new/search/openOrder',
	//查询闭口订单
	GET_ORDER_HISTORY_C: '/new/search/oppoOrder',
	//查询泉化执行订单
	GET_ORDER_HISTORY_QH: '/new/search/qhExeOrder',
	//查询代理
	GET_ORDER_HISTORY_A: '/new/search/agentOrder',


	//新版-查询销售意向 
	GET_ORDER_RPTEXT: '/new/ext/findRptExt',
	//新版-新增销售意向 
	ADD_RPTEXT: '/new/ext/addRptExt',
	//新版-查询采购销售关联
	GET_ORDER_MAPPING: '/new/mapping/findMapping',
	//新版-新增采购销售关联
	ADD_MAPPING: '/new/mapping/addMapping',
	//新版-删除采购销售关联
	DEL_MAPPING: '/new/mapping/delMapping',
	//计划关联列表-0628版
	USED_MAPPING_LIST: '/stock/mapping/usedMappingList',
	//草稿（新增）查询本地计划关联列表-0628版
	LOCAL_USED_MAPPING_LIST: '/stock/mapping/local/usedMappingList',
	//查询可关联订单列表-0628版
	USABLE_MAPPING_LIST: '/stock/mapping/usableMappingList',
	//删除采购销售关联-0628版
	DEL_MAPPING_LIST: '/stock/mapping/local/delMappingList',
	//批量新增订单关联-0628版
	SUBMIT_MAPPING_LIST: '/stock/mapping/addMappingList',
	LOCAL_ADD_MAPPING_LIST: '/stock/mapping/local/addMappingList',
	LOCAL_SAVE_MAPPING_LIST: '/stock/mapping/local/saveMappingList',

	//新版-提交成交报告
	SUNMIT_ORDER: '/new/agency/submitOrder',
	/*订单交货计划*/
	//成交报告交货计划
	DELIVERY_PLAN_ADD: "/deliveryPlan/saveOrderDeliveryPlan",//新增/修改
	DELIVERY_PLAN_LIST: "/deliveryPlan/orderDeliveryPlanList",//列表
	DELIVERY_PLAN_DEL: "/deliveryPlan/deleteOrderDeliveryPlan",//删除

	//长约合同交货计划
	LONG_DELIVERY_PLAN_ADD: "/deliveryPlan/saveLongOrderDeliveryPlan",//新增/修改
	LONG_DELIVERY_PLAN_LIST: "/deliveryPlan/longOrderDeliveryPlanList",//列表
	LONG_DELIVERY_PLAN_DEL: "/deliveryPlan/deleteLongOrderDeliveryPlan",//删除

	//费用
	ORDER_FEE_ADD: "/orderFee/saveOrderFee",//新增/修改
	ORDER_FEE_LIST: "/orderFee/orderFeeList",//列表
	ORDER_FEE_DEL: "/orderFee/deleteOrderFee",//删除

	//商品
	ORDER_ITEM_ADD: "/orderItem/saveOrderItem",//增加/修改
	ORDER_ITEM_DEL: "/orderItem/deleteOrderItem",//删除
	ORDER_ITEM_LIST: "/orderItem/orderItemList",//列表
	ORDER_ADDRESS_LIST: "/orderItem/itemAddressList",//地址列表

	//批次关联
	ORDER_MAP_ADD: "/orderMaping/saveOrderMapping",//增加/修改
	ORDER_MAPED_LIST: "/orderMaping/orderMappingList",//已关联列表
	ORDER_CAN_MAP_LIST: "/orderMaping/limitMappingOrderList",//可关联列表
	ORDER_MAP_DEL: "orderMaping/deleteOrderMapping",//删除已关联

	//授信校验
	ORDER_CREDIT_CHECK: "/order/orderCreditCheck",

	//长约框架列表
	LONG_ORDER_LIST: "/longOrder/orderList",//长约执行选择框架列表
	LONG_ORDER_LIST_CHANGE: "/longOrder/change/task/dealAudit", //长约框架变更

	//泉化销售单作废
	QH_ORDER_OBSOLETE: '/qhOrderTask/orderCancleApply',

	//客户资金
	GET_CUSTOMER_FUNDS: '/custCapitalAccount/limit',

	//中新油待审批列表
	GET_NEW_OIL_LOT: '/orderTask/zxy/orderAuditList',
	//中新油待审批列表(撤销审批)
	GET_NEW_OIL_LOT_CANCEL: '/orderTask/zxy/cancelOrderAuditList',
	//撤回推送审批
	GET_NEW_OIL_CANCEL_PUSH: '/orderTask/zxy/cancelPushAuditList',
	//中新油查询列表
	GET_NEW_OIL_ORDER_LIST: '/order/zxy/orderList',
	//获取中新油订单数量
	GET_NEW_OIL_ORDER_RECORD: '/order/zxy/orderRecord',
	//新油变更列表
	GET_NEW_OIL_ORDER_CHANGE: '/changeTask/zxy/multiCorp/auditList',
	//新油审批 同意驳回
	GET_NEW_OIL_ORDER_CHANGE_APPROVAL: '/changeTask/zxy/dealAudit',//订单变更审批


	//商品单价                     
	ORDER_ITEM_PRICE: '/orderItem/calculateQhXhOrderItemPrice',
	ORDER_OTHER_PRICE: '/orderItem/queryQhXhOrderItemPrice',
	/* 
		申请授信
	*/
	CREDIT_CREATE: "/finance/credit/apply",//申请授信
	CREDIT_DETAIL: "/finance/credit/apply/detail",  // 详情 
	CREDIT_LIMIT_DETAIL: "/finance/credit/info/detail",  //授信额度详情
	CREDIT_AUDIT: "/creditTask/creditApplyAudit",  // 审批按钮 同意，驳回
	CREDIT_AUDIT_APPROVEL: "/creditTask/creditAuditList",   // 授信未审批
	MUL_CREDIT_AUDIT_APPROVEL: "/creditTask/multiCorp/creditAuditList",   // 授信未审批
	CREDIT_AUDIT_HIS_APPROVEL: "/creditTask/creditHisAuditList",   // 授信已审批
	CREDIT_HISTORY: '/finance/credit/apply/change',
	FIND_NODE: '/auditLog/auditList',  // 查看授信审批节点
	//CREDIT_BILL_CREATE: '/finance/credit/bill/detail',  //授信账单报表
	CREDIT_BILL_CREATE: '/credit/bill/detail',
	//CREDIT_BILL_LIST: '/finance/credit/bill/list',   //授信账单列表
	CREDIT_BILL_LIST: '/credit/bill/list',   //授信账单列表
	CREDIT_BILL_LIST_ALL: '/companyInfo/queryAllCompanyList',  //查找所有的企业
	CREDIT_BILL_LIST_SX: '/companyInfo/queryCreditCompanyList', //授信用
	CREDIT_OVERDUE_LIST: '/finance/credit/overdue/list', //查询企业授信逾期列表
	CREDIT_OVERDUE_DECIDE: '/finance/credit/overdue/decide', //企业授信逾期评判
	CREDIT_OVERDUE_DETAIL: '/finance/credit/overdue/detail', //企业授信逾期评判详情
	OY_LIST: '/occupy/occupyPageList',// 授信占用 - 采购销售
	OY_LIST_HEAD: '/occupy/occupyStats',  // 授信占用 - 列表页- 头部
	OY_LIST_HEAD_NOT: '/occupy/companyOccupyStats', //授信占用 - 列表页 - 头部
	OY_LIST_NOT: '/occupy/companyOccupyStatsList',  //授信占用 - 未核记录列表
	OY_DETAILS_STEP: '/occupy/occupyLogList',  //授信占用 - 详情 - 步骤
	CREDIT_CHECK: '/finance/credit/zxb/check',//授信申请审核
	PURCHASE_BILL: '/credit/purchaseBill/list',//采购已入库未付款
	//中新油
	ZXY_ORDER_ADD: '/order/zxy/add',
	ZXY_ORDER_INFO: '/order/zxy/orderDetail',
	ZXY_CLOSE_ORDER_ADD: '/order/zxy/oppoOrderAdd',
	ZXY_ORDER_CANCEL: '/order/zxy/orderCancel',
	ZXY_ORDER_APPROVE: '/orderTask/zxy/orderAudit',
	ZXY_ORDER_DELETE: '/order/zxy/orderDelete',
	ZXY_PROCESS_CANCEL: '/orderTask/zxy/cancelProcess',
	GET_ORGAN_LIST: '/organ/biz/organList',
	ZXY_APPROVAL_PROCESS: '/auditLog/zxy/auditList',
	ZXY_CANCEL_INFO: '/order/zxy/cancel/isAbandoned',
	ZXY_BACKOUT: '/order/zxy/cancel/submit',
	ZXY_BACKOUT_SELF: '/order/zxy/cancel/cancel',
	ZXY_DELETE_ORDER: '/order/zxy/abandoneOrder',
	ZXY_USABLE_MAPPING_LIST: '/zxy/mapping/usableMappingList', //查询中新油可关联订单列表
	ZXY_USED_MAPPING_LIST: '/zxy/mapping/usedMappingList', //查询中新油已关联订单列表
	ZXY_LOCAL_USED_MAPPING_LIST: '/zxy/mapping/local/usedMappingList', //查询关联草稿信息列表
	ZXY_LOCAL_ADD_MAPPING_LIST: '/zxy/mapping/local/addMappingList', //批量新增关联草稿
	ZXY_LOCAL_SAVE_MAPPING_LIST: '/zxy/mapping/local/saveMappingList', //批量更新关联草稿
	ZXY_ADD_MAPPING_LIST: '/zxy/mapping/addMappingList', //提交中新油订单关联
	ZXY_DEL_MAPPING_LIST: '/zxy/mapping/local/delMappingList', //删除中新油订单关联
	ZXY_CANCEL_PUSH: '/cancelTask/zxy/cancelPush', //撤回推送
	ZXY_CANCEL_PROCESS: '/cancelTask/zxy/cancelProcess', //取消撤回推送
	ZXY_PUSH_AGAIN: '/cancelTask/zxy/pushToSap', //重新推送
	ZXY_MERGE_DETAIL: '/order/zxy/cancel/mergeDetail', //抛单明细
	ZXY_ADD_PRICE: '/order/zxy/addSettlePrice', //保存结算价

	//法务审批
	LAWW_LIST: '/orderContractTask/orderContractList',
	LAWW_LIST_MUL: '/orderContractTask/multiCorp/orderContractList',
	LAWW_APPROVE: '/orderContractTask/dealContractAudit',
	LAWW_COUNT: '/orderContractTask/orderContracCount',
	// 获取商品库存，敞口上限
	GET_NEW_GOODS_QUANTITY: '/stock/stockEarlyWarningInfo',

	// 新 订单
	NEW_ORDER_SUBMIT_S: '/new/open/submitOrder',//敞口新增提交按钮
	NEW_ORDER_OPEN_S: '/new/open/addOrder',  // 敞口保存按钮
	NEW_ORDER_SUBMIT_C: '/new/oppo/submitOrder',//敞口新增提交按钮
	NEW_ORDER_OPEN_C: '/new/oppo/addOrder',  // 敞口保存按钮
	NEW_ORDER_SUBMIT_A: '/new/agency/submitOrder',//代理新增提交按钮
	NEW_ORDER_OPEN_A: '/new/agency/addOrder',  // 代理保存按钮
	NEW_ORDER_SUBMIT_E: '/new/exe/submitOrder',//长约执行(包含泉化)新增提交按钮
	NEW_ORDER_OPEN_E: '/new/exe/addOrder',  // 长约执行(包含泉化)新增提交按钮
	NEW_ORDER_LOSTRATE: '/new/search/lostRateList', // 涂损率 商品液体 数据
	NEW_ORDER_SHOW_PRICE: '/orderFee/orderPriceFeeCalculate', //订单底部弹框 各种价格费用展示
	NEW_ORDER_BRANCH: '/userInfo/purchase/userOrganList', //替哪个部门采
	NEW_ORDER_FEE_LIST: '/dict/getDictLogisticFundType',//获取费用预估列表
	NEW_ORDER_SETTLEDETAIL: '/goods/settleDetail',//获取 基准月,基准日,

	LONG_FRAME_LIST: '/new/search/longOrder', // 长约执行列表
	FIND_ORDER: '/new/open/findOrder',  // 敞口订单查询(普通)
	FIND_ORDER_E: '/new/exe/findOrder',  // 敞口订单查询(长约)
	FIND_ORDER_C: '/new/oppo/findOrder',// 敞口订单查询(闭口)
	LONG_FRAME_GOODS_LIST: '/longOrder/orderItemTree', // 长约执行商品选择列表
	QH_SAVE_ALL: '/new/exe/addOrderList', // 泉化批量保存
	QH_SUBMIT_ALL: '/new/exe/submitOrderList', // 泉化批量提交
	GET_GOODS_QUANTITY: '/new/limit/openOrderLimit', // 获取商品库存了，敞口上限等
	GET_FRAME_GOODS_QUANTITY: '/new/limit/longOrderLimit', // 获取长约商品库存了，敞口上限等
	FEEd_AUDIT_LIST: '/contract/task/auditList', // 非业务合同审批列表
	FEEd_AUDIT_LIST_MUL: '/contract/task/multiCorp/auditList', // 非业务合同审批列表
	FEEd_DEALAUDIT: '/contract/task/dealAudit',// 非业务合同审批同意 驳回
	LONG_FRNE_LIST: '/longOrder/task/auditList',// 长约框架列表审批
	LONG_FRNE_LIST_MUL: '/longOrder/task/multiCorp/auditList',
	LONG_DEAL_AUDIT: '/longOrder/task/dealAudit',// 长约框架审批
	LONG_CHECKOUT: '/new/search/checkout/longOrder', // 长约订单条件校验
	ORIGINAL_ADDRESS: "/areaInfo/findProductAreaList", //原产地 地址数据

	//订单详情
	ORDER_DETAILS_BASE: '/orderCenter/order/detail/',  // 敞口订单详情
	GET_LONG_ORDER_LIST: '/orderCenter/longOrder/list', //长约框架列表
	GET_LONG_ORDER_DETAIL: '/orderCenter/longOrder/detail', //长约框架详情
	GET_ORDER_LIST: '/orderCenter/order/list',
	GET_ORDER_LIST_TOL: '/orderCenter/order/totalCnt', //订单列表 订单数量统计

	ORDER_DETAILS_SLOW_BUY: '/financePayReceipt/purchasePayment/totalCnt', //订单详情-付款-汇总
	ORDER_DETAILS_SLOW_SELL: '/financePayReceipt/saleReceipt/totalCnt', //订单详情-收款-汇总
	ORDER_DETAILS_SLOW_LIST_BUY: '/financePayReceipt/purchasePayment/list', //订单详情-付款-列表
	ORDER_DETAILS_SLOW_LIST_SELL: '/financePayReceipt/saleReceipt/list', //订单详情-收款-列表
	//ORDER_DETAILS_JS_BUY: '/orderSettle/purchaseSettle/totalCnt', //订单详情-结算-汇总（采）
	ORDER_DETAILS_JS_LIST_BUY: '/orderSettle/purchaseSettle/list', //订单详情-结算-列表（采）
	ORDER_DETAILS_JS_DETAIL_BUY: '/orderSettle/purchaseSettle/detail', //订单详情-结算-详情（采）
	//ORDER_DETAILS_JS_SELL: '/orderSettle/saleSettle/totalCnt', //订单详情-结算-汇总（销）
	ORDER_DETAILS_JS_LIST_SELL: '/orderSettle/saleSettle/list', //订单详情-结算-列表（销）
	ORDER_DETAILS_JS_DETAIL_SELL: '/orderSettle/saleSettle/detail', //订单详情-结算-详情（销）
	ORDER_DETAILS_FP_BUY: '/financeInvoice/purchaseInvoice/totalCnt',//订单详情-发票-汇总（采）   
	ORDER_DETAILS_FP_SELL: '/financeInvoice/saleInvoice/totalCnt',//订单详情-发票-汇总（销）
	ORDER_DETAILS_STOCK_BUY: '/stock/purchaseIn/totalCnt',//订单详情-仓库-汇总（采）
	ORDER_DETAILS_STOCK_SELL: '/stock/saleOut/totalCnt',//订单详情-仓库-汇总（销）
	ORDER_DETAILS_STOCK_LIST_BUY: '/stock/purchaseIn/stockNoticeList',//订单详情-仓库-列表（通知单）（采）
	ORDER_DETAILS_STOCK_LIST_SELL: '/stock/saleOut/stockNoticeList',//订单详情-仓库-列表（通知单）（销）
	ORDER_DETAILS_STOCK_LIST_MX_BUY: '/stock/purchaseIn/stockSheetList',//订单详情-仓库-列表（发/收货）（采）
	ORDER_DETAILS_STOCK_LIST_MX_SELL: '/stock/saleOut/stockSheetList',//订单详情-仓库-列表（发/收货）（销）
	ORDER_DETAILS_STOCK_LIST_WL: '/logistics/planList',//订单详情-仓库-列表（物流）
	ORDER_DETAILS_STOCK_DETAIL_WL: '/logistics/planDetail',//订单详情-仓库-详情（物流）
	ORDER_DETAILS_STOCK_DETAIL_MX_SELL: '/stock/saleOut/stockSheetDetail',//订单详情-仓库-明细-详情-销
	ORDER_DETAILS_STOCK_DETAIL_MX_BUY: '/stock/purchaseIn/stockSheetDetail',//订单详情-仓库-明细-详情-销
	ORDER_DETAILS_STOCK_DETAIL_WL_DD: '/logistics/planDispatchList', //订单详情-仓库-调度（物流）
	ORDER_DETAILS_STOCK_DETAIL_WL_IMG: '/logistics/fileDownload',  //订单详情-仓库-调度 获取图片
	ORDER_DETAILS_STOCK_DETAIL_CK_BUY: '/stock/purchaseIn/stockNoticeDetail',  //订单详情-出库/入库通知单  （采）
	ORDER_DETAILS_STOCK_DETAIL_CK_SELL: '/stock/saleOut/stockNoticeDetail',  //订单详情-出库/入库通知单  （销）
	ORDER_AUDITLIST: '/auditLog/orderCenter/auditList',//获取app和pc的审批日志

	//首页-日报
	GET_REPORT_CREDIT_OVERVIEW: '/rptData/reportCreditDailyOverView',  //授信日报概览
	GET_REPORT_CREDIT_OCCUPANY: '/rptData/reportCreditDailyOccupanyCapital',//授信资金占用
	GET_REPORT_CREDIT_OCCUPANY_DETAIL: '/rptData/reportCreditDailyOccupanyCapitalDetail',//授信资金占用
	GET_REPORT_CREDIT_RANKING: '/rptData/reportCreditDailyCompanyRank',//占用企业排行
	GET_REPORT_CREDIT_OVERDUE_SUMMARY: '/rptData/reportCreditDailyOverdueSummary',//授信逾期汇总
	GET_REPORT_CREDIT_OVERDUE_BY_ORGAN: '/rptData/reportCreditDailyOverdueByOrganId',//授信逾期汇总分公司汇总
	GET_REPORT_CREDIT_OVERDUE_DETAIL: '/rptData/reportCreditDailyOverdueDetail',//授信逾期汇总逾期明细
	GET_REPORT_SALES_STOCK: '/rptData/reportSalesDailyStockView',//销售日报库存成交
	GET_REPORT_SALES_PRICE: '/rptData/reportSalesDailySalesPrice',//销售日报成交均价

	//结算发票
	GET_INVOICE_LIST: '/financeInvoice/invoiceList', //结算发票列表
	GET_INVOICE_DETAIL: '/financeInvoice/invoiceDetail', //结算发票明细
	GET_SETTLE_DETAIL: '/financeInvoice/settleDetail', //结算单明细

	//出入库审批
	GET_PURCHASE_AUDITLIST: '/stock/purchase/auditList', //入库
	GET_PURCHASE_DETAIL: '/stock/purchase/noticeDetail', //入库明细
	GET_SALE_AUDITLIST: '/stock/sale/auditList', //出库
	GET_SALE_DETAIL: '/stock/sale/noticeDetail', //出库明细
	GET_SALE_AUDIT_NOTICE: '/stock/sale/auditNotice', //出库审批
	GET_PURCHASE_AUDIT_NOTICE: '/stock/purchase/auditNotice', //入库审批
	GET_AUDIT_COUNT: '/stock/multiCorp/auditCount',//出入库多帐套 
	STOCK_GET_MAIL: '/stock/queryForMail', //邮件获取
	STOCK_PUSH_MAIL: '/stock/sendMail', //邮件发送
	//业务预警
	WARNING_LIST: '/task/warn/warnList',//业务预警(企业资质,授信账户,授信订单)
	APPROVING_AUDITCNT: '/task/audit/auditCnt', //审批中数量
	APPROVING_AUDIT_LIST: '/task/audit/audit/list', //审批中/驳回列表

	//资源意向转成交报告
	ORDER_TURN_LIST: '/resourceBidOrder/list',  //资源意向转成交报告-列表
	ORDER_TURN_DETAIL: '/resourceBidOrder/detail',  //资源意向转成交报告-详情
	ORDER_TURN_CREATE: '/resourceBidOrder/create', //资源意向转成交报告 - 转订单
	ORDER_TURN_POOL: '/resourceBidOrder/orderTotalCnt',//资源意向转成交报告-成交记录汇总
	ORDER_TURN_CLAIM_LIST: '/resourceBidOrder/claimList',//资源意向转成交报告-意向待认领列表
	ORDER_TURN_CLAIM_LIST_NUM: '/resourceBidOrder/claimCount',//资源意向转成交报告-意向待认领列表-统计
	ORDER_TURN_CLAIM_CONFIRM: '/resourceBidOrder/bidOrderClaim',//资源意向转成交报告-资源意向认领
	ORDER_TURN_CLAIM_CANCEL: '/resourceBidOrder/orderClaimCancel',//资源意向转成交报告-资源意向认领撤销
	ORDER_TURN_MERGE_LIST: '/resourceBidOrder/resourceClaimedList', //资源意向转成交报告-获取意向资源已认领列表
	ORDER_TURN_MERGE_MERGE: '/resourceBidOrder/resourceMerge',
	ORDER_TURN_FIND_MERGE: '/resourceBidOrder/resourceBidMergeList',// 查看合并(按钮查看)
	ORDER_TURN_MERGE_GOODS: '/resourceBidOrder/resourceBidOrderList', //商品合并查看
	ORDER_TURN_MERGE_GOODS_SUBMIT: '/resourceBidOrder/resourceOrderMerge', //商品合并提交
	ORDER_TURN_SET_TYPE: '/resourceBidOrder/assign/resourceBidOrderType', //意向认领指定类型
	ORDER_TURN_LONGORDER: '/resourceBidOrder/checkout/longOrder', //意向认领泉化校验

	//客户管理
	CUSTOMER_MANAGE: '/crm/staff/crmCnt',// 客户管理
	GET_OPERATE_LIST: '/crm/company/operateList', //客户操作日志
	GET_LOG_LIST: '/crm/company/logList',  //客户审批流程
	GET_AUDIT_LIST: '/crm/task/audit/auditList',//企业审批列表
	GET_AUDIT_CNT: '/crm/task/audit/auditCnt', // 企业审批tab
	AUDIT_LIST: '/crm/task/leader/auditList', // 企业待审批列表
	AUDIT_LIST_MUL: '/crm/task/multiCorp/leader/auditList', // 企业待审批列表多账套
	AUDIT_LIST_CNT: '/crm/task/multiCorp/leader/auditCnt',//企业待审批列表多账套数量统计
	AUDIT_CNT: '/crm/task/leader/auditCnt', // 企业待审批 统计值
	AUDIT_CNT_NEW: '/crm/task/multiCorp/leader/auditCnt/new',//企业待审批 新统计
	AUDIT_QUERY_COMPANY: '/applyCompanyInfo/queryCompanyApplyAuditInfo',//企业审批流
	AUDIT_QUERY_LOG: '/applyCompanyInfo/queryCompanyApplyAuditLog',//产品认领审批流
	ENTERPRISE_AUDIT: '/crm/task/leader/audit',// 企业审批 / 驳回
	DEL_COMPANY_ADDRESS: '/companyInfo/delCompanyAddress',  //客户详情出入库地址删除
	CUSTOMER_CHANGE: '/applyCompanyInfo/queryCompanyApplyDiff',  //企业变更详情
	CONTRACTOR_GOODSTREE_LIST: '/crm/contractor/goodsTreeList', //企业联系人经营品类
	COMPANY_GOODSTREE_LIST: '/crm/company/goodsTreeList',//编辑新增经营品类
	CONTRACTOR_LOG_LIST: '/crm/company/contactorLogList', //企业员操作记录
	CONTRACTOR_LOG: '/crm/company/contactorLog', //企业员操作记录-变更详情
	CUSTOMER_CHANGE_GOODS: '/crm/company/applyGoodsTreeList',  //企业变更 - 经营品类
	CUSTOMER_DELETE: '/applyCompanyInfo/deleteCompanyContactor',//删除用户信息
	ADD_STAFF_VISIT: '/staffVisit/addStaffCompanyVisit',  //企业详情 - 新增维护记录
	GET_STAFF_CNT: '/staffVisit/staffCompanyVisitCnt',  //企业详情 - 维护次数
	GET_STAFF_LIST: '/staffVisit/staffCompanyVisitList',  //企业详情 - 维护记录列表
	DEL_COMPANY_APPLY: '/applyCompanyInfo/delCompanyApplyInfo',  //企业列表 - 草稿/驳回删除
	GET_BIZ_COMPANY_GOODS: '/companyClaim/queryBizClaimCompanyGoodsList',//业务员企业产品分类的列表
	GET_STAFF_GOODS_DETAIL: '/companyClaim/staffGoodsDetail',//业务员企业产品分类详情
	GET_BIZ_TEAMUSER_LIST: '/bizTeam/teamUserList',//产品组用户列表
	GET_GOODS_LOG_LIST: '/companyGoods/historyLogList',//产品日志查询

	//客户管理 - 公海池
	SEAS_LIST: '/companyClaim/queryClaimCompanyList',  // 公海池 - 列表
	CUSTOMER_DETAIL: '/companyClaim/queryClaimCompanyGoodsList',//客户认领详情
	ADD_COMPANY_PRODUCT: '/companyClaimTask/addStaffCompanyProductApply',//客户认领详情-提交认领
	COMPANY_GOODS_ADD_LIST: '/companyGoods/companyGoodsAddList',//系统企业产品分类待关联列表
	GOODS_CLASS_LIST: '/bizTeam/sysTeamLineList',//产品线
	APPLY_AUDIT_CNT: '/companyClaimTask/applyAuditCnt',// 产品审批Tap
	PRODUCT_APPLY_AUDITLIST: '/companyClaimTask/applyAuditList', // 产品审批
	PRODUCT_APPLY_AUDITLIST_MUL: '/companyClaimTask/multiCorp/applyAuditList', // 产品审批
	PRODUCT_CLAIM_APPLY_DETAIL: '/companyClaimTask/claimApplyDetail',//产品认领审批详情
	PRODUCT_DEAL_APPLY_AUDIT: '/companyClaimTask/dealApplyAudit', // 产品认领审批 同意 驳回

	//客户认证
	USER_AUTH: '/crm/enterprise/userApplicationAuth', //用户认证申请列表
	DETAIL_INFO: '/crm/enterprise/queryDetailInfo',//申请企业信息详情
	HISTORY_INFO: '/crm/enterprise/selectByEnterpriseMemberId',//历史客户详情
	ENTERPRISE_CHOOSE: '/crm/enterprise/queryBindApplyEnterpriseChooseList', //模糊查询企业信息
	ENTERPRISE_APPLY_LIST: '/crm/enterprise/queryEnterpriseBindApplyList',//用户认证申请--业务员
	ENTERPRISE_APPLY_LIST_LEADER: '/crm/enterprise/queryEnterpriseBindApplyListLeader', //用户认证申请--领导
	ENTERPRICE_MEMBER: '/crm/enterprise/findByEnterpriseMember',//用户认证申请--历史会员
	ENTERPRICE_MEMBER_SUBMIT: '/crm/enterprise/updateEnterpriseMember',//历史记录
	ENTERPRISE_APPLY_LIST_WAIT: '/crm/enterprise/queryEnterpriseBindApplyWaitClaim',//用户认证申请 -业务待认领
	ENTERPRISE_APPLY_PASS: '/crm/enterprise/approveEnterpriseBindApplyPass',//关联企业
	ENTERPRISE_APPLY_PASS_UPDATE: '/crm/enterprise/updateEnterpriseBindApply',//关联企业提交修改 -已认证
	ENTERPRISE_APPLY_REFUSE: '/crm/enterprise/approveEnterpriseBindApplyRefuse',//拒绝关联企业
	ENTERPRISE_APPLY_TURN_CLAIM: '/crm/enterprise/approveEnterpriseBindApplyTurnClaim',//转认领
	ENTERPRISE_APPLY_TURN_CLAIM_BIZER: '/crm/enterprise/approveEnterpriseBindApplyTurnClaimBizer',//转认领
	TURN_FOLLOW: '/crm/enterprise/approveEnterpriseBindApplyTurnFollow',//业务认领到本人明下
	GET_LOSS_LIST: '/companyClaim/queryCompanyClaimLossList',//7天内即将流失列表
	GET_GOODS_LOSS_LIST: '/companyClaim/queryClaimCompanyGoodsLossList',//7天内即将流失产品

	PLANAPP_LYLIST: '/plan/apply/planApplyList', // 经营计划审批列表
	TEAM_INFO_TREE: '/bizTeam/teamInfoTree', // 产品组
	GOODS_CATE_GORY_TREE: '/goods/goodsCategoryTree', // 产品三级分类
	PLAN_APPLY_AUDIT: '/plan/apply/planApplyAudit',  // 经营计划审批
	PLAN_AETAIL_LIST: '/plan/apply/planApplyDetailList', // 经营计划审批详情
	PLAN_AUDITLIST: '/auditLog/auditList', //经营计划审批流

	//报盘
	OFFER_ADD: '/chemic/packageApply/saveOrUpdate', //新增
	OFFER_EDITE: '/chemic/packageApply/detail', //编辑
	PACKAGE_APPLY_TASK: '/chemic/packageApplyTask/auditList', //申请审批列表
	PACKAGE_APPLY_PERIOD: '/chemic/packageApply/periodList', //资源发布分页列表
	PACKAGE_APPLY_AUDIT: '/chemic/packageApplyTask/dealAudit', //审批
	PACKAGE_APPLY_PERIOD_DETAIL: '/chemic/packageApply/periodDetail', //资源详情
	PACKAGE_APPLY_CANCEL: '/chemic/packageApply/cancel', //撤销本轮
	PACKAGE_APPLY_DELETE: '/chemic/packageApply/del', //删除
	WORKFLOW_LEADER_AUDITCNT: '/workflow/leader/auditCnt', //审批列表帐套数量
	RESOURECE_APPLY: '/chemic/resourceBid/applyStat',//资源发布报盘统计
	RESOURECE_APPLY_LIST: '/chemic/resourceBid/companyBidList', //报盘概览
	RESOURECE_DETAIL_LIST: '/chemic/resourceBid/bidDetailList', //报盘明细
	PACKAGE_APPLY_OPERATION_LOG: '/chemic/packageApplyTask/operationLog', //操作日志
	PACKAGE_APPLY_AUDIT_LOG: '/chemic/packageApplyTask/AuditLog', //审批日志
	PACKAGE_BID_LIST: '/chemic/resourceBid/companyBidSumList',//招标（整包）-报盘成交申请列表
	PACKAGE_BID_RES_LIST: '/chemic/resourceBid/resourceBidList',//招标（非整包）-报盘成交申请列表
	PACKAGE_BID_DETAIL: '/chemic/resourceBid/companyBidDetail',//招标（整包）-报盘成交申请详情
	PACKAGE_BID_MAKE_LIST: '/chemic/bidBargain/orderAllMakeList',//成交记录分页列表（招标整包）
	PACKAGE_BID_NOMAKE_LIST: '/chemic/bidBargain/orderNotMakeList',//成交记录分页列表（招标非整包）
	PACKAGE_BID_APPLY: '/chemic/bidBargain/bizAddApply',//业务员接收/拒绝成交
	PACKAGE_APPLY_NEW: '/chemic/resourceBid/applyStatNew',//成交申请报盘详情
	PACKAGE_BID_COMPANY_LIST: '/chemic/resourceBid/companyBidSumList',//报盘明细（招标整包）
	PACKAGE_BID_RESOURCE_LIST: '/chemic/resourceBid/resourceBidList',//报盘明细（招标非整包）
	PACKAGE_MORE_LIST: '/chemic/resourceBid/applyStatNew',//多伦成交列表
	PACKAGE_CLINCH_WITHDRAW: '/chemic/bidOrderApply/bizCancelApply',// 多伦-撤销审批
	LEADER_APPLY_GROUP_LIST: '/chemic/bidBargain/leaderApplyGroupList',//成交申请记录分页汇总列表
	BIZ_APPLY_LIST: '/chemic/bidBargain/bizApplyList',//成交申请记录分页汇总列表二级
	DEAL_AUDIT_BATCH: '/chemic/bidBargain/dealAuditBatch', //报盘成交审批通过拒绝
	PACKAGE_CLINCH_WITHDRAW: '/chemic/bidBargain/bizCancelApply',// 多伦-撤销审批
	BIZ_APPLY_DETAIL: '/chemic/bidBargain/bizApplyDetail',//报盘信息
	PACK_APPLY_CNT: '/chemic/bidBargain/multiCorp/leaderApplyGroupCnt',//报盘审批数量
	PACKAGE_TOAST: '/chemic/bidBargain/checkBizAddApply',//条件  模式(多轮+招标非整包) +  价格类型(一口价) => 消息提示
	PACKAGE_RULE: '/chemic/packageApply/query/packageRules',//报盘采销规则查询
	TARGET_GROUP: '/chemic/packageApply/query/targetCompanyGroup',//获取报盘的定向群组客户
	TARGET_COMPANY: '/chemic/packageApply/query/targetCompany',//获取定向客户及定向的企业信息
	PACKAGE_APPLY_NAME: '/chemic/packageApply/get/packageApplyName',//获取挂盘申请资源包名称
	//盘点审批
	CHECK_AUDIT_LIST: '/stock/check/auditList',//审批列表
	CHECK_AUDIT_STOCK: '/stock/check/audit',//审批同意拒绝
	CHECK_AUDIT_LOG: '/stock/check/auditLog',//审批流
	CHECK_AUDIT_DETAIL: '/stock/check/auditDetail',//盘点审批详情
	CHECK_AUDIT_COUNT: '/stock/check/multiCorp/auditCount',//多账套盘点审批任务统计

	//二次认价
	SECOND_PRICE_LIST: '/financePriceConfirm/auditList',
	SECOND_PRICE_DETAIL: '/financePriceConfirm/auditDetail',
	SECOND_PRICE_AUDIT: '/financePriceConfirm/audit',
	SECOND_PRICE_CNT: '/financePriceConfirm/multiCorp/auditCount',
	SECOND_SOURCE_DETAIL: '/financePriceConfirm/sourceDetail',

	//新油抛单
	MERGE_LIST: '/orderTask/zxy/mergeOrderAuditList',
	MERGE_DETAIL: '/order/zxy/mergeDetail',

	//资金账户
	COMPANY_LIST: '/companyInfo/query/companyListPage',//资金账户列表
	COMPANY_INFO: '/companyLedger/query/companyLedgerInfo',//资金账户资金统计
	COMPANY_TRANS_INFO: '/companyLedgerFlow/query/capitalTransList',//资金账户流水
	CAPITAL_TRANS_DETAIL: '/companyLedgerFlow/query/capitalTransDetail',//我的账户
	CAPITAL_TRANS_LIST: '/companyLedgerFlow/query/capitalSummaryList',//订单占用列表
	CAPITAL_ORDER_DETAIL: '/companyLedgerFlow/query/orderCapitalDeatil',//订单占用详情
	CAPITAL_ORDER_LIST: '/companyLedgerFlow/query/orderCapitalClaimList',//订单占用列表
	STAFF_CLAIM_LIST: '/companyLedger/query/staffCapitalClaimList',//获取业务员资金认领明细列表
	FREE_CAPITAL_LIST: '/companyLedger/query/freeCapitalList',//客户自由款明细列表
	EMAIL_PUSH_CNT: '/ledgerEmail/query/bizStaffEmailPushCnt',//企业资金账邮件推送
	EMAIL_PUSH: '/ledgerEmail/send/bizStaffEmailPush',//企业资金账单邮件推送统计

	//合同预审
	UN_FLOW_CNT: '/workflow/multiCorp/unFlowAuditCnt',//订单预审统计接口
	PRE_TAST_LIST: '/orderPreTask/auditList', //订单变更待审批列表
	PRE_TAST_DETAIL: '/orderPreTask/orderPreDetail',//订单预审详情
	PRE_TAST_AUDIT: '/orderPreTask/dealAudit',//商务主管订单预审

	//泉化担保日延期审批
	QH_STOCK_CHANGE_AUDITCOUNT: '/stock/qhChange/multiCorp/auditCount',//多账套泉化担保日延期审批数量
	QH_STOCK_CHANGE_LIST: '/stock/qhChange/auditList', //泉化担保日延期审批列表
	QH_STOCK_CHANGE_DETAILS: '/stock/qhChange/auditDetail', //泉化担保日延期审批详情
	QH_CHANGE_AUDIT: '/stock/qhChange/audit',//泉化担保日延期审批

	//客户返利
	REBARE_LIST: '/companyRebate/auditList',//客户返利审批分页列表
	REBARE_DETAIL: '/companyRebate/applyDetail',//客户返利审批详情
	REBARE_AUDIT: '/companyRebate/dealAudit', //客户返利审批
	REBARE_AUDIT_DETAIL: '/auditLog/logList',//客户返利审批日志列表
	ORDER_REBATE_PRICE: '/companyRebate/goodsRebatePrice' // 创建订单查询返利
};

export const API_GENERATE = (PATH) => {
	return ENVIRONMENT[GLOBAL.CURR_ENV].baseUrl + PATH
}

export const API_BASE_URL = () => {
	return ENVIRONMENT[GLOBAL.CURR_ENV].baseUrl
}

export const API_REPORT_BASE_URL = () => {
	return ENVIRONMENT[GLOBAL.CURR_ENV].reportBaseUrl
}